package com.parking.exception;

import com.parking.common.core.exception.ParkingException;

public class UserException extends ParkingException {
    public UserException(String message, Integer code) {
        super(message, code);
    }

    public UserException(UserExceptionCode code) {
        super(code.getMessage(),code.getCode());
    }

}
